import {Request} from "@/components/until/Request";

//子项目详情信息
function getProjectDetails(url,data){
    return Request.post(url,data);
}
//项目组成员
function getProjectMember(url,data){
    return Request.post(url,data); 
}

//添加子项目
function addProject(url,data){
    return Request.post(url,data);
}

//获取所有空闲成员
function getFreeMember(url,data){
    return Request.post(url,data);  
}

//添加项目组成员
function addProjectMember(url,data){
    return Request.post(url,data);  
}

//子项目任务列表
function getProjectTask(url,data){
    return Request.post(url,data);
}

//修改子项目
function updateProject(url,data){
    return Request.post(url,data);
}
//删除子项目
function deleteProject(url,data){
    return Request.post(url,data);
}
export {getProjectDetails,getProjectMember,addProject,getFreeMember,addProjectMember,getProjectTask,updateProject,deleteProject}